package com.base.data.elasticsearch.util;

import org.elasticsearch.client.RestHighLevelClient;

import java.io.IOException;

@FunctionalInterface
public interface ClientCallbackAsync<T> {
    void doWithClient(RestHighLevelClient client) throws IOException;

}
